package com.zhangkunhao.notes.service.impl;
import com.zhangkunhao.notes.entity.Do.PermissionBlacklist;
import com.zhangkunhao.notes.entity.Do.TopicPursueList;

import java.sql.SQLException;
import java.util.List;

/**
 * @author 20642
 * @description TODO
 * @date 2023/4/9 15:00
 */
public interface PermissionBlacklistService {
    /**
     * 查询所有
     *
     * @return
     */
    List<PermissionBlacklist> selectAll();

    /**
     * 添加用户
     *
     * @param
     */
    void insert(PermissionBlacklist permissionBlacklist) throws Exception;


    int delete(int id) throws SQLException;

    int update(PermissionBlacklist permissionBlacklist, String... params) throws Exception;

}
